package com.wen.akka.actor;

import akka.actor.UntypedActor;

/**
 * Created by teddy on 2016/9/28.
 */
public class Client extends UntypedActor{
    @Override
    public void onReceive(Object message) throws Exception {
        if (message instanceof String) {
            System.out.println("client:hello " + message);

            sender().tell("how are you");
        }
    }
}
